package com.xs.lianxi.xuesheng.dao;

public class student {
    //1.用private将对象私有化
    private int age;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "student{" +
                "age=" + age +
                '}';
    }
}
